package com.ruoyi.eduadmin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 跟踪记录对象 it_problem_tracking_record
 * 
 * @author ruoyi
 * @date 2022-12-29
 */
public class ItProblemTrackingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 学生名字 */
    @Excel(name = "学生名字")
    private String studentName;

    /** 问题类型id */
    @Excel(name = "问题类型id")
    private Integer problemTypeId;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timeOccurrence;

    /** 扣除分数 */
    @Excel(name = "扣除分数")
    private Integer deductPoints;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problemDescription;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 老师名字 */
    @Excel(name = "老师名字")
    private String teacherName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setProblemTypeId(Integer problemTypeId) 
    {
        this.problemTypeId = problemTypeId;
    }

    public Integer getProblemTypeId() 
    {
        return problemTypeId;
    }
    public void setTimeOccurrence(Date timeOccurrence) 
    {
        this.timeOccurrence = timeOccurrence;
    }

    public Date getTimeOccurrence() 
    {
        return timeOccurrence;
    }
    public void setDeductPoints(Integer deductPoints) 
    {
        this.deductPoints = deductPoints;
    }

    public Integer getDeductPoints() 
    {
        return deductPoints;
    }
    public void setProblemDescription(String problemDescription) 
    {
        this.problemDescription = problemDescription;
    }

    public String getProblemDescription() 
    {
        return problemDescription;
    }
    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName)
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("problemTypeId", getProblemTypeId())
            .append("timeOccurrence", getTimeOccurrence())
            .append("deductPoints", getDeductPoints())
            .append("problemDescription", getProblemDescription())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .toString();
    }
}
